package com.yesun.dcm.registry;

import com.yesun.dcm.commons.extension.SPI;
import com.yesun.dcm.commons.rpc.URL;

@SPI("zookeeper")//指定默认使用zookeeper注册中心
public interface RegistryFactory {

    void registry(String serviceName, URL url);

    String discovery(String serviceName, URL url);
}
